<!DOCTYPE html>
<html>

<head>
    <!-- 页面meta -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>商家完善资料</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" name="viewport">

    <link rel="stylesheet" href="../plugins/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="../plugins/adminLTE/css/AdminLTE.css">
    <link rel="stylesheet" href="../plugins/adminLTE/css/skins/_all-skins.min.css">
    <link rel="stylesheet" href="../css/style.css">
    <script src="../plugins/jQuery/jquery-2.2.3.min.js"></script>
    <script src="../plugins/bootstrap/js/bootstrap.min.js"></script>

    <!-- anjularJS-->
    <script src="../plugins/angularjs/angular.min.js"></script>

    <script src="../js/base.js"></script>
    <script src="../js/controller/baseController.js"></script>
    <script src="../js/controller/userController.js"></script>
    <script src="../js/service/userService.js"></script>

</head>

<body class="hold-transition skin-red sidebar-mini" ng-app="csBook" ng-controller="userController" ng-init="findAll()">

<!-- 正文区域 -->
<section class="content">

    <div class="box-header with-border">
        <h3 class="box-title">学生信息</h3>
    </div>
    <div class="box-body">

        <div class="pull-left">
            <div class="form-group form-inline">
                <div class="btn-group">
                    <button type="button" class="btn btn-default" title="刷新" onclick="window.location.reload();"><i class="fa fa-refresh"></i> 刷新</button>
                </div>
            </div>
        </div>
        <div class="box-tools pull-right">
            <div class="has-feedback">
                学生名称：<input ng-model="searchEntity.username">
                <button class="btn btn-default" ng-click="search()">查询</button>
            </div>
        </div>

        <!--tab内容-->
        <div class="tab-content">

            <!--表单内容-->
            <!--数据列表-->
            <table id="dataList" class="table table-bordered table-striped table-hover dataTable">
                <thead>
                <tr>
                    <th class="sorting_asc">学生ID</th>
                    <th class="sorting">学生名称</th>
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="entity in list">
                    <td>{{entity.id}}</td>
                    <td>{{entity.username}}</td>
                </tr>
                </tbody>
            </table>
            <!--数据列表/-->


        </div>

    </div>
</section>
<!-- 正文区域 /-->


</body>

</html>